package com.attendance.pojo;

import com.attendance.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

/**
 * 公告
 *
 * @author 今朝
 * @date 2021/03/21
 */
@Component
@TableName("t_notice")
@Data
@EqualsAndHashCode(callSuper = true)
public class Notice extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    private Long idx;
    private String content;
}
